package com.share.dao.attach.advertise;

import java.util.LinkedHashMap;
import java.util.List;

import com.share.bean.attach.advertise.PositionSort;

/**
 * <p>Title：广告版位分类DAO</p>
 * <p>Description：</p>
 * @Author：杨浩泉
 * @Date：2010-4-24
 */
public interface PositionSortDao {
	
	public void savePositionSortDao(PositionSort ps) throws RuntimeException ;
	
	public void deletePositionSortDao(int id) throws RuntimeException ;
	
	public void updatePositionSortDao(PositionSort ps) throws RuntimeException ;
	
	public PositionSort loadByIdPositionSortDao(int id) throws RuntimeException ;

	public List<PositionSort> findAllPositionSortDao(String hql,LinkedHashMap<String , String> orderby) throws RuntimeException ;
	
}
